package com.siruier.boss.bean

import com.alibaba.fastjson.JSONObject
import java.math.BigDecimal

data class TaskContent(
    val content: String = "",
)

data class TaskAppListParam(
    val base: JSONObject,
    val oaid: String,
    var orderId: String = "",
    var running: Int? = null,
    var taskId: String? = null,
    var taskType: Int? = null,
    var currentPage: Int = 1,
    var pageSize: Int = 20,
)

data class AppTask(
    val appIcon: String = "",
    val appMarket: String = "",
    val appMarketDownloadUrl: String = "",
    val appMarketPackageName: String = "",
    val appName: String = "",
    val appPackageName: String = "",
    val currentTime: Long = 0,
    val isDeepTask: Int = 0,
    val isRunning: Int = 0,
    val keywords: String = "",
    val keywordsRank: Int = 0,
    val orderId: String = "",
    //价格
    val price: BigDecimal = BigDecimal.ZERO,
    //剩余多少份任务
    val remainNum: Int = 0,
    val running: Int = 0,
    val showRank: Int = 0,
    val tag: String = "",
    // 0:ASO任务， 1:注册任务 ，8:搜索注册任务， 9:开放任务， 11:小程序任务， 17:CPA任务
    val taskType: Int = 0,
    val taskWay: Int = 0,
    //显示单位
    val unit: String = "",
)

data class RobTask(
    val url: String = "",
    val taskId: String = "",
    val taskType: Int = 0,
    val taskWay: Int = 0,
    val isDeepTask: Int = 0,
    val isRunning: Int = 0,
    // 是否存在其他任务 0-否 1-是
    val otherTask: Int = 0,
)

data class TaskAuditDetail(
    val appIcon: String = "",
    val appName: String = "",
    val auditErrorMsg: String = "",
    val createDate: String = "",
    val income: BigDecimal = BigDecimal.ZERO,
    val tag: String = "",
    // 任务状态 1 正在审核 2 审核失败
    val taskState: Int = 1,
)

data class UserHisTask(
    val appIcon: String = "",
    val appName: String = "",
    val changeMoney: BigDecimal = BigDecimal.ZERO,
    val date: String = "",
)